package com.exchange.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.exchange.entity.pojo.DetailPower;
import com.exchange.mapper.DetailPowerMapper;
import com.exchange.service.DetailPowerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author Administrator
* @description 针对表【detail_power】的数据库操作Service实现
* @createDate 2024-04-25 20:02:10
*/
@Service
public class DetailPowerServiceImpl extends ServiceImpl<DetailPowerMapper, DetailPower>
    implements DetailPowerService{
    @Autowired
    private DetailPowerMapper detailPowerMapper;
    @Override
    public DetailPower selectOneByPid(Long dtpid) {
        return detailPowerMapper.selectOneByPid(dtpid);
    }

    @Override
    public int selectCountTheReailable(Long pid, Long remark) {
        return this.detailPowerMapper.selectCountTheReailable(pid,remark);
    }
}




